package com.cjack.frenchexcel.exception;

import com.cjack.frenchexcel.config.ErrorCodeDefine;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BankCardNotExsitException extends Exception{
    private static final long serialVersionUID = -4591033222922602580L;
    private Integer code = ErrorCodeDefine.BANK_CARD_NOT_EXSITS;
    private String message = ErrorCodeDefine.BANK_CARD_NOT_EXSITS_MSG;

    public BankCardNotExsitException(String message) {
        this.message = message;
    }
}
